package org.lop.demo.domain;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.lop.common.domain.BaseEntity;

/**
 * 测试实体.
 * 
 * @author 潘瑞峥
 * @date 2013-6-2
 */
@Entity
@Table( name = "lop_test" )
public class DemoEntity extends BaseEntity {

	private static final long serialVersionUID = 4784721338835097104L;

	private String name;

	private Integer age;

	private String sex;

	private Double asset;

	private String description;

	private Date crateTime = new Date();

	public String getName() {
		return name;
	}

	public void setName( String name ) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge( Integer age ) {
		this.age = age;
	}

	public String getSex() {
		return sex;
	}

	public void setSex( String sex ) {
		this.sex = sex;
	}

	public Double getAsset() {
		return asset;
	}

	public void setAsset( Double asset ) {
		this.asset = asset;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription( String description ) {
		this.description = description;
	}

	public Date getCrateTime() {
		return crateTime;
	}

}